<template>
	<view class="wrapper">
		<view class="img">
			<image src="http://www.itcast.cn/2018czydz/images/gywmban.jpg"></image>
		</view>
		<view class="text">
			<view @click="call">联系电话：400-618-9090（点击拨打）</view>
			<view>校区地址：浙江省杭州市下沙经济开发区4号大街187号盛泰时代山</view>
		</view>
		<view class="map">
			<!-- 经纬度 -->
			<map longitude="110.299312" latitude="25.063343" scale="14" :markers="markers"></map>
		</view>
	</view>
</template>

<script>
	export default {
		name:'aboutUs',
		data(){
			return {
				// 标记
				markers:[
					{
						longitude:'110.299312',
						latitude:'25.063343',
						iconPath:'/static/logo.png',
						width:30,
						height:30
					}
				]
			}
		},
		methods:{
			call(){
				// 拨打电话
				uni.makePhoneCall({
					phoneNumber:'400-618-9090'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.wrapper{
		.img{
			width: 100%;
			height: 320rpx;
			image{
				width: 100%;
				height: 100%;
			}
		}
		.text{
			padding: 15px;
			font-size: 14px;
			color: #333;
			line-height: 60rpx;
		}
		.map{
			map{
				width: 730rpx;
				height: 700rpx;
				margin: 0 auto;
			}
		}
	}
</style>
